﻿<Window x:Class="ShopMS.Shell.winLogin"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="winLogin" Height="116" Width="356" WindowStyle="ToolWindow">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="30*"/>
            <RowDefinition Height="30*"/>
            <RowDefinition Height="40*"/>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="20*"/>
            <ColumnDefinition Width="80*"/>
        </Grid.ColumnDefinitions>
        <Label Content="用户名" Grid.Column="0" />
        <Label Content="密码"   Grid.Column="0" Grid.Row="1" />
        <TextBox Grid.Column="1" Grid.Row="0" x:Name="txtUserId"></TextBox>
        <TextBox Grid.Column="1" Grid.Row="1" x:Name="txtPassword"></TextBox>
        <Button Content="登录" Grid.Row="2" Margin="0,0,206,0" Grid.Column="1" Height="30" Click="btnLogin_Click" x:Name="btnLogin" />
        <Button Content="取消" Grid.Column="1" Grid.Row="2" Width="75" Margin="102,0,101,0" Height="30" Click="btnCancel_Click" x:Name="btnCancel" />
        <Button Content="忘记密码" Grid.Column="1" Grid.Row="2" Width="75" Margin="203,0,0,0" Height="30" />

    </Grid>
</Window>
